<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: skyblue;
        }
        
        div {
            width: 200px;
            height: 30px;
            background-color: red;
            color: #fff;
            line-height: 30px;
            transition: all 3s;
            padding-left: 5px;
        }
        
        div:hover {
            color: red;
            padding-left: 10px;
            background-color: #fff;
        }
    </style>
</head>

<body>
    <div>
        家用电器 数码
    </div>
</body>

</html>